package com.esunny.online.util;

/**
 * @author ：李先生
 * @date ：Created in 2020/7/22 15:16
 * @description： 存放项目常量
 * @modified By：
 * @version: 1.0$
 */
public final class ConstantUtil {

    private ConstantUtil() {
    }

    /**
     * 资源类型：mp3
     */
    public final static String RESOURCE_TYPE_MP3 = "mp3";

    /**
     * 资源类型：mp4
     */
    public final static String RESOURCE_TYPE_MP4 = "mp4";


    /**
     * 资源类型：PNG
     */
    public final static String RESOURCE_TYPE_PNG = "png";

    /**
     * 资源类型：JPG
     */
    public final static String RESOURCE_TYPE_JPG = "jpg";

    /**
     * 资源类型：GIF
     */
    public final static String RESOURCE_TYPE_GIF = "gif";

    /**
     * 资源类型：ZIP
     */
    public final static String RESOURCE_TYPE_ZIP = "zip";
    /**
     * 资源类型：PDF
     */
    public final static String RESOURCE_TYPE_PDF = "pdf";

    /**
     * 资源类型：PPT
     */
    public final static String RESOURCE_TYPE_PPT = "ppt";
    //依次类推

    /**
     * JWT密钥
     */
    public final static String JWT_SECRET = "A0B1C2D3E4F5G6H7I8J9KALBMCNDOEPFQ0R1S2T3U4V5W6X7Y8Z9";

    /**
     * JWT过期时间
     */
    public final static int JWT_EXPIRE_SECOND = 7 * 24 * 3600;

    /**
     * 日志输出前缀：ResourceController
     */
    public final static String LOGGER_CONTROLLER_RESOURCE="ResourceController";

    /**
     *日志输出前缀：LoginController
     */
    public final static String LOGGER_CONTROLLER_LOGIN="LoginController";

    /**
     * 日志输出前缀：HomeController
     */
    public final static String LOGGER_CONTROLLER_HOME="HomeController";


}
